//
//  ChangePayOneTableViewCell.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/27.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "ChangePayOneTableViewCell.h"

@implementation ChangePayOneTableViewCell{
    GLGWImageView * leftImageView;
    GLGWLabel * bankNameLabel;
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        //
        leftImageView = [[GLGWImageView alloc] initWithFrame:CGRectMake(kWidthProportion_In_iPhoneTriploid(15), kHeightProportion_In_iPhoneTriploid(10), kWidthProportion_In_iPhoneTriploid(30), kHeightProportion_In_iPhoneTriploid(30)) inSuperView:self];
        leftImageView.backgroundColor = kRandomColor;
        //
        bankNameLabel = [[GLGWLabel alloc] initWithFrame:CGRectMake(kX_With_View(leftImageView, 21), kHeightProportion_In_iPhoneTriploid(15), KScreenWidth - kX_With_View(leftImageView, 21) - kWidthProportion_In_iPhoneTriploid(45), kHeightProportion_In_iPhoneTriploid(20)) theFont:SYSTEMFONT(14) theColor:kColor_Rule_Black inSuperView:self];
        bankNameLabel.text = @"中国工商银行企业银行";
        //
        GLGWButton * selectBut = [[GLGWButton alloc] initWithFrame:CGRectMake(KScreenWidth - kWidthProportion_In_iPhoneTriploid(50), 0, kWidthProportion_In_iPhoneTriploid(50), self.contentView.height) inSuperView:self.contentView];
        [selectBut setImage:[UIImage imageNamed:@"icon_weixuanzhe"] forState:UIControlStateNormal];
//        selectBut.backgroundColor = kRandomColor;
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
